<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!-- Provide a short description of the page. -->
    <meta name="description"
          content="This is an example of a meta description. This will often show up in search results.">
    <!-- This meta tag tells Google not to show the sitelinks search box. -->
    <meta name="google" content="nositelinkssearchbox"/>
    <!-- Control the behavior of search engine crawling and indexing.
     The robots meta tag applies to all search engines, while the "googlebot" meta tag is specific to Google. -->
    <meta name="robots" content="..., ..."/>
    <meta name="http-equiv" content="X-Robots-Tag : noindex, follow"/>
    <meta name="googlebot" content="..., ..."/>
    <!-- Used for verifying ownership of a site. -->
    <meta name="verify" content=""/>

    <!-- Open Graph Meta Tags -->
    <!-- Set the canonical URL for the page you are sharing. -->
    <meta property="og:url" content="http://www.mySite.com/">
    <!-- The title to accompany the URL. -->
    <meta property="og:title" content="My Site"/>
    <!-- Provides Facebook the name that you would like your website to be recognized by. -->
    <meta property="og:site_name" content="My Website">
    <!-- Provides Facebook the type of website that you would like your website to be categorized by. -->
    <meta property="og:type" content="website">
    <!-- Defines the language, American English is the default. -->
    <meta property="og:locale" content="en-IN">
    <!-- Directs Facebook to use the specified imageupload when the page is shared. -->
    <meta property="og:image" content="image URL">
    <!-- Similar to the meta description tag in HTML. This description is shown below the link title on Facebook. -->
    <meta property="og:description" content="This is site description."/>

    <!-- Twitter Card data -->
    <!-- The type of card to be created: summary, photo, or video -->
    <meta name="twitter:card" content="summary"/>
    <!-- Title of the Twitter Card -->
    <meta name="twitter:title" content="Title less than 70 characters"/>
    <!-- Description of content -->
    <meta name="twitter:description" content="Description less than 200 characters"/>
    <!-- URL of imageupload to use in the card. Used with summary, summary_large_image, player cards -->
    <meta name="twitter:image" content=""/>

    <title>{% block title %}
        unknown
    {% endblock %}</title>
    <link href="{{ url_for('static', filename='css/bootstrap-4.4.1.css') }}" rel="stylesheet" type="text/css">
    <link rel="stylesheet" href="https://cdn.staticfile.org/font-awesome/4.7.0/css/font-awesome.css">
    <script src="{{ url_for('static', filename='js/jquery-3.4.1.min.js') }}"></script>
    <script src="{{ url_for('static', filename='js/popper.min.js') }}"></script>
    <script src="{{ url_for('static', filename='js/bootstrap-4.4.1.js') }}"></script>
</head>

<body style="padding-top: 70px">
{% block body %}
    <div class="container-fluid" style="height: 1000px;width: 90%">

    </div>
{% endblock %}
</body>


<nav class="navbar fixed-top navbar-expand-lg navbar-light bg-light"><a class="navbar-brand" href="#">得到 - 轻量copy</a>
    <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent1"
            aria-controls="navbarSupportedContent1" aria-expanded="false" aria-label="Toggle navigation"><span
            class="navbar-toggler-icon"></span></button>
    <div class="collapse navbar-collapse" id="navbarSupportedContent1">
        <div class="offset-9" id="login-div">
            {% if usr.name %}
                <div class="btn-group dropdown">
                    <label class="nav-link">用户管理</label>
                    <button type="button" class="btn btn-outline-secondary dropdown-toggle dropdown-toggle-split"
                            data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><span
                            class="fa fa-user">&nbsp;&nbsp;</span></button>
                    <div class="dropdown-menu">
                        <h6 class="dropdown-header">Dropdown header 1</h6>
                        <a class="dropdown-item" href="#">用户信息管理</a>
                        <!--				  <a class="dropdown-item disabled" href="#" >Disabled Link</a> <a class="dropdown-item" href="#">Something else here</a>-->
                        <a class="dropdown-item" href="/admin">后台管理</a>
{#                        <a class="dropdown-item" href="{{ url_for('admin.back_page') }}">后台管理</a>#}
                        <div class="dropdown-divider"></div>
                        <a class="dropdown-item" href="/logout">登出</a></div>
                </div>
            {% else %}
                <a class="btn btn-outline-secondary" href="/login">登录</a>

            {% endif %}


        </div>
    </div>
</nav>


<script>
    $("{{ active_nav }}").addClass("active");
</script>

</html>
